package com.ChainBizPro.system.service;

import com.ChainBizPro.system.model.domain.PurchaseOrders;
import com.ChainBizPro.system.model.domain.Stock;
import com.ChainBizPro.system.model.dto.stock.StockAddRequest;
import com.ChainBizPro.system.model.dto.stock.StockQueryRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * 用户服务
 *
 * @author liusijia
 */
public interface StockService extends IService<Stock> {

    Page<Stock> getQueryWrapper(Page<Stock> pageParam, StockQueryRequest stockQueryRequest);

    boolean newStock(StockAddRequest stockAddRequest, HttpServletRequest request);
}
